package mMap;

import java.util.WeakHashMap;

/**
 * @Author: Jie
 * @Date: 2019/4/17 14:39
 * @Function :
 */
public class WeakHashMapDemo {
    public static void main(String[] args) {
        WeakHashMap<String,Object> map = new WeakHashMap<>();
        System.out.println(map.get("123"));
        boolean b = map.containsKey("1234");
        System.out.println(b);

        map.put("mInt",1);
        System.out.println(map.get("mInt"));

    }
}
